import request from '@/utils/request.js';

// 获取列表
export const infoApi = (params) => {
    return request({
        url: '/shop/info',
        method: 'get',
        params
    })
}

export const editApi = (data) => {
    return request({
        url: '/shop/edit',
        method: 'post',
        data
    })
}